package com.apadog.study.wxpay;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;



@Data
public class WeChatPayNativeParams {

    /**
     * openId
     */
    @Min(value = 1,message = "金额不能低于1分钱")
    private Integer money;

    @NotNull(message = "充值目标不能为空")
    private Long byUserid;

    @NotNull(message = "创建人userid不能为空")
    private Long createUserId;


    @NotBlank(message = "创建人姓名不能为空")
    private String createUserName;

}
